﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ResultModels
{
    public class Tb_Corp_CompanyInfo1
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Int32? classID { get; set; }
        public Guid CorpGuid { get; set; }
        public Guid CorpUserGuid { get; set; }
        public String CorpName { get; set; }
        public Int32? CorpType { get; set; }
        public String AreaCode { get; set; }
        public String AreaCode2 { get; set; }
        public String Address { get; set; }
        public String ZipCode { get; set; }
        public String NetAddress { get; set; }
        public String Email { get; set; }
        public String LinkMan1 { get; set; }
        public String Tel1 { get; set; }
        public String Linkman { get; set; }
        public String Tel { get; set; }
        public String Fax { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? SecurityTitleGetDate { get; set; }
        public String SecurityCode { get; set; }
        public String Introduction { get; set; }
        public String EndTime { get; set; }
        public String PassNum { get; set; }
        public String QualificationNum { get; set; }
        public String QualificationLevel { get; set; }
        public String BussinessNum { get; set; }
        public String FoundTime { get; set; }
        public String BussinessArea { get; set; }
        public String Type { get; set; }
        public String FlowCode { get; set; }
        public String RegisterMoney { get; set; }
        public Int32? bISO14000 { get; set; }
        public Int32? bISO9000 { get; set; }
        public Int32? bISO9001 { get; set; }
        public Int32? bOHSMS18000 { get; set; }
        public String QualityState { get; set; }
        public String tb_Corp_Remark { get; set; }
        public Int32? tb_Corp_IsPass1 { get; set; }
        public Int32? tb_Corp_IsOuter { get; set; }
        public Guid? CreaterGuid { get; set; }
        public String DeptCode { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CreatDate { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? AlterDate { get; set; }
        public Boolean? AddFlag { get; set; }
        public Boolean? IsDel { get; set; }
        public String wdrqSGXKCode { get; set; }
        public String OuterLinkMan { get; set; }
        public String OuterTel { get; set; }
        public String OuterFax { get; set; }
        public Int32? AlterForwardID { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? ApplyAlterDateTime { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? FirstFoundDate { get; set; }
        public String CheckComment { get; set; }
        public String Shareholder { get; set; }
        public String OrginazationCode { get; set; }
        public Int32? dogid { get; set; }
        public Int32? OldRoleID { get; set; }
        public String SGTJCode { get; set; }
        /// <summary>
        /// 办公面积
        /// </summary>
        public Int32? officeArea { get; set; }
        /// <summary>
        /// 是否是专营（针对造价咨询单位）
        /// </summary>
        public Int32? isMainBusiness { get; set; }
        public String czInfo { get; set; }
        public String fzrInfo { get; set; }
        public String swRegisterCode____ { get; set; }
        /// <summary>
        /// 针对外地入青企业：表现形式为：1,2,3,等等，1表示正式发证可以投标，2表示应该上报月报，3表示参与建筑市场主题考核,4表示清除，5表示无效企业
        /// </summary>
        public String bCanBid { get; set; }
        /// <summary>
        /// 入青企业名称
        /// </summary>
        public String NameInQD____ { get; set; }
        /// <summary>
        /// 驻青企业地址
        /// </summary>
        public String AddressInQD____ { get; set; }
        /// <summary>
        /// 入青时间
        /// </summary>
        public String rqDate____ { get; set; }
        /// <summary>
        /// 驻青机构营业执照号
        /// </summary>
        public String rqBusinessCard____ { get; set; }
        /// <summary>
        /// 驻青机构税务登记号
        /// </summary>
        public String revenuEnrolNo____ { get; set; }
        /// <summary>
        /// 使用劳务队伍情况
        /// </summary>
        public String workContractMark____ { get; set; }
        /// <summary>
        /// 入青电话
        /// </summary>
        public String rqTel____ { get; set; }
        public String Remark____ { get; set; }
        /// <summary>
        /// 1转入，0转出
        /// </summary>
        public Int32? IsInOrOut { get; set; }
        /// <summary>
        /// 政务大厅_审核状态 (1)- 不符合规定 (2)-尚存疑问 (10)-符合要求 (6)-取消核实 (-1)- 未审核
        /// </summary>
        public Int32? ZWDT_CheckStatus____ { get; set; }
        /// <summary>
        /// 政务大厅_审核意见(wh)
        /// </summary>
        public String ZWDT_Comment____ { get; set; }
        /// <summary>
        /// 是否驻青建筑企业
        /// </summary>
        public Boolean? isZhQ____ { get; set; }
        /// <summary>
        /// 入青企业审核意见
        /// </summary>
        public String RqShenHeRemark____ { get; set; }
        public String RegisterSumleft____ { get; set; }
        /// <summary>
        /// 清除日期
        /// </summary>
        public String ClearDate____ { get; set; }
        /// <summary>
        /// 清除原因
        /// </summary>
        public String ClearReason____ { get; set; }
        /// <summary>
        /// 营业范围 一级目录
        /// </summary>
        public String mainBusiness { get; set; }
        /// <summary>
        /// 营业范围 二级目录
        /// </summary>
        public String products { get; set; }
        public Int32? ClearFlag____ { get; set; }
        /// <summary>
        /// 入青企业资质有效日期
        /// </summary>
        public String validDate____ { get; set; }
        /// <summary>
        /// 判断外地入青企业是否资质有效：1表示有效 0表示无效
        /// </summary>
        public Int32? isValid____ { get; set; }
        public Int32? isSZ { get; set; }
        public Int32? oldId { get; set; }
        public String dogcode { get; set; }
        public Int32? dognum { get; set; }
        /// <summary>
        /// 用来检查2010-04-23核对本地通过企业信息后标识，1表示核对准确的施工总承包和专业承包数据，2表示核对后的劳务分包数据
        /// </summary>
        public Int32? flagForCheckValidCorp { get; set; }
        /// <summary>
        /// 1,2,3,等等，1表示正式发证可以投标，2表示应该上报月报，3表示参与建筑市场主题考核,4表示清除，5表示无效企业
        /// </summary>
        public String bCanBid_0210 { get; set; }
        /// <summary>
        /// 外地入潍备案证号
        /// </summary>
        public String SGXKCode { get; set; }
        /// <summary>
        /// 外地入潍备案证号获取时间
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? SGXKBeginDate { get; set; }
        /// <summary>
        /// 外地入潍备案证号有效期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? SGXKEndDate { get; set; }
        /// <summary>
        /// 关联狗号，关联市政管理处的
        /// </summary>
        public Int32? joinDogID { get; set; }
        public String ReportAreaCode { get; set; }
        public Int32? KindID { get; set; }
        public String Remark { get; set; }
        public Guid? CorpUserGuid1 { get; set; }
        public String CorpName_old { get; set; }
        public String FlowCode2 { get; set; }
        public String Gszcdm { get; set; }
        public String GradeCode { get; set; }
        public Int32? corpID { get; set; }
        public Guid? ManagerGuid { get; set; }
        public Int32? CertificateType { get; set; }
        public String CertificateNumber { get; set; }
        public Byte CertNumber { get; set; }
        public String RegProv { get; set; }
        public String RegCity { get; set; }
        public String RegDistrict { get; set; }
        public String LockType { get; set; }
        public Boolean? IsFz { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? LockTime { get; set; }

        public string TbFlowcode { get; set; }
        public decimal? Score { get; set; }
        [NotMapped]
        public string PersonName { get; set; }
        [NotMapped]
        public string PersonMobile { get; set; }
        [NotMapped]
        public string DetailName { get; set; }
        [NotMapped]
        public string GradeName { get; set; }
    }
}
